<template>
  <div class="min-body">
    <div class="top">
      <el-form ref="form" :model="searchForm" label-width="120px">
        <el-form-item label="获奖项目/单位">
          <el-input
            v-model="searchForm.awardCompany"
            placeholder="获奖项目/单位"
          ></el-input>
        </el-form-item>
        <el-form-item label="关联人员">
          <el-input
            v-model="searchForm.awardCompany"
            placeholder="可输入多位人员，空格隔开"
          ></el-input>
        </el-form-item>
        <el-form-item label="荣誉名称">
          <el-input
            v-model="searchForm.awardCompany"
            placeholder="请输入荣誉名称"
          ></el-input>
        </el-form-item>
        <el-form-item label="奖励等级">
          <el-select
            v-model="searchForm.awardCompany"
            placeholder="请选择"
          ></el-select>
        </el-form-item>
      </el-form>
      <div class="buttons">
        <el-button>查询</el-button>
        <el-button @click="jumpUrl('/build/:1')">新建</el-button>
        <el-button>批量新建</el-button>
        <el-button>模板下载</el-button>
      </div>
    </div>
    <div class="content">
      <el-alert title="成功提示的文案" type="success"> </el-alert>
      <el-table :data="tableData" border style="width: 100%">
        <el-table-column prop="num" label="序号" width="50" align="center">
        </el-table-column>
        <el-table-column
          prop="awardCompany"
          label="获奖项目/单位"
          width="180"
          align="center"
        >
        </el-table-column>
        <el-table-column prop="relationUserArr" label="关联人员" align="center">
        </el-table-column>
        <el-table-column prop="awardLev" label="奖励等级" align="center">
        </el-table-column>
        <el-table-column prop="honorName" label="荣誉名称" align="center">
        </el-table-column>
        <el-table-column prop="fzjg" label="发证机构" align="center">
        </el-table-column>
        <el-table-column prop="zsTime" label="证书日期" align="center">
        </el-table-column>
        <el-table-column label="操作" align="center">
          <template>
            <a href="#">下载</a>
            <a href="#">编辑</a>
            <a href="#">删除</a>
          </template>
        </el-table-column>
      </el-table>
      <el-pagination
        @size-change="handleSizeChange"
        @current-change="handleCurrentChange"
        :current-page="currentPage4"
        :page-sizes="[100, 200, 300, 400]"
        :page-size="100"
        layout="total, sizes, prev, pager, next, jumper"
        :total="400"
      >
      </el-pagination>
    </div>
  </div>
</template>

<script>
export default {
  name: "index",
  data: function () {
    return {
      searchForm: {},
      tableData: [
        {
          num: "1",
          awardCompany: "nari",
          relationUserArr: "jack,rose",
          awardLev: "2",
          honorName: "飞天奖",
          fzjg: "大同之",
          zsTime: "1998.0505",
        },
      ],
    };
  },

  methods: {},
};
</script>

<style scoped>
@import "css/index.css";
/deep/ .el-form-item__content {
  text-align: left;
}
</style>
